package shape;

/**
 * Created by thoughtworks on 24/7/14.
 */
public class VerticalLine extends Line {
    public VerticalLine(int length1) {
        super('*', length1);
    }

    @Override
    public String[] exportString() {

        String[] bitmap = new String[length];
        int i;
        for(i = 0;i < length;i++)
        {
            bitmap[i] = new String(String.valueOf(dataUnit));
        }
        return bitmap;
    }
}
